package com.kayt.cyberBar.cpublic.business.dao;

import java.sql.SQLException;
import java.util.LinkedHashMap;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cpublic.business.entity.po.CPublicReqType;

public interface IPublicReqTypeDao {
	CPublicReqType findById(String reqTypeId);
	
	Integer delete(String reqTypeId);
	
	void modify(CPublicReqType entity) throws SQLException;
	
	Long save(CPublicReqType entity) throws SQLException;
	
	PageData<CPublicReqType> findByPage(String hql, Object[] params, LinkedHashMap<String, String> orderMap) throws SQLException;

	PageData<CPublicReqType> getReqTypeList(LinkedHashMap<String, String> orderMap) throws SQLException;

	Boolean checkExist(String name) throws SQLException;
}
